<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group" style="text-align: center;">
        {if $qr_url}
        <img src="{$qr_url}" alt="" id='qrcodeimg' />
        {else /}
        <img src="{:url('ajax/userQr')}?admin_id={$user_id}&group_id={$group_id}" alt="" id='qrcodeimg' />
        {/if}
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>